package com.ymttest.database.sharding.db.ext.model;

import java.util.Date;

public class DeliveryChangeHisPo {
    /**
     * id BIGINT(19) 必填<br>
     * 流水号
     */
    private Long id;

    /**
     * delivery_id BIGINT(19) 必填<br>
     * 面单表流水号
     */
    private Long deliveryId;

    /**
     * new_bill_no VARCHAR(50) 必填<br>
     * 面单号
     */
    private String newBillNo;

    /**
     * new_ymt_express_code VARCHAR(50) 必填<br>
     * 洋码头物流公司编码
     */
    private String newYmtExpressCode;

    /**
     * old_bill_no VARCHAR(50) 必填<br>
     * 面单号
     */
    private String oldBillNo;

    /**
     * old_ymt_express_code VARCHAR(50) 必填<br>
     * 洋码头物流公司编码
     */
    private String oldYmtExpressCode;

    /**
     * order_id BIGINT(19) 必填<br>
     * 订单号
     */
    private Long orderId;

    /**
     * seller_id BIGINT(19) 必填<br>
     * 买手id
     */
    private Long sellerId;

    /**
     * offical_logistics BIT(1) 必填<br>
     * 是否官方物流
     */
    private Boolean officalLogistics;

    /**
     * source_track BIT(1) 必填<br>
     * 是否拼邮溯源订单
     */
    private Boolean sourceTrack;

    /**
     * create_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 创建时间
     */
    private Date createTime;

    /**
     * id BIGINT(19) 必填<br>
     * 获得 流水号
     */
    public Long getId() {
        return id;
    }

    /**
     * id BIGINT(19) 必填<br>
     * 设置 流水号
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * delivery_id BIGINT(19) 必填<br>
     * 获得 面单表流水号
     */
    public Long getDeliveryId() {
        return deliveryId;
    }

    /**
     * delivery_id BIGINT(19) 必填<br>
     * 设置 面单表流水号
     */
    public void setDeliveryId(Long deliveryId) {
        this.deliveryId = deliveryId;
    }

    /**
     * new_bill_no VARCHAR(50) 必填<br>
     * 获得 面单号
     */
    public String getNewBillNo() {
        return newBillNo;
    }

    /**
     * new_bill_no VARCHAR(50) 必填<br>
     * 设置 面单号
     */
    public void setNewBillNo(String newBillNo) {
        this.newBillNo = newBillNo == null ? null : newBillNo.trim();
    }

    /**
     * new_ymt_express_code VARCHAR(50) 必填<br>
     * 获得 洋码头物流公司编码
     */
    public String getNewYmtExpressCode() {
        return newYmtExpressCode;
    }

    /**
     * new_ymt_express_code VARCHAR(50) 必填<br>
     * 设置 洋码头物流公司编码
     */
    public void setNewYmtExpressCode(String newYmtExpressCode) {
        this.newYmtExpressCode = newYmtExpressCode == null ? null : newYmtExpressCode.trim();
    }

    /**
     * old_bill_no VARCHAR(50) 必填<br>
     * 获得 面单号
     */
    public String getOldBillNo() {
        return oldBillNo;
    }

    /**
     * old_bill_no VARCHAR(50) 必填<br>
     * 设置 面单号
     */
    public void setOldBillNo(String oldBillNo) {
        this.oldBillNo = oldBillNo == null ? null : oldBillNo.trim();
    }

    /**
     * old_ymt_express_code VARCHAR(50) 必填<br>
     * 获得 洋码头物流公司编码
     */
    public String getOldYmtExpressCode() {
        return oldYmtExpressCode;
    }

    /**
     * old_ymt_express_code VARCHAR(50) 必填<br>
     * 设置 洋码头物流公司编码
     */
    public void setOldYmtExpressCode(String oldYmtExpressCode) {
        this.oldYmtExpressCode = oldYmtExpressCode == null ? null : oldYmtExpressCode.trim();
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单号
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单号
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 获得 买手id
     */
    public Long getSellerId() {
        return sellerId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 设置 买手id
     */
    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    /**
     * offical_logistics BIT(1) 必填<br>
     * 获得 是否官方物流
     */
    public Boolean getOfficalLogistics() {
        return officalLogistics;
    }

    /**
     * offical_logistics BIT(1) 必填<br>
     * 设置 是否官方物流
     */
    public void setOfficalLogistics(Boolean officalLogistics) {
        this.officalLogistics = officalLogistics;
    }

    /**
     * source_track BIT(1) 必填<br>
     * 获得 是否拼邮溯源订单
     */
    public Boolean getSourceTrack() {
        return sourceTrack;
    }

    /**
     * source_track BIT(1) 必填<br>
     * 设置 是否拼邮溯源订单
     */
    public void setSourceTrack(Boolean sourceTrack) {
        this.sourceTrack = sourceTrack;
    }

    /**
     * create_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * create_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", deliveryId=").append(deliveryId);
        sb.append(", newBillNo=").append(newBillNo);
        sb.append(", newYmtExpressCode=").append(newYmtExpressCode);
        sb.append(", oldBillNo=").append(oldBillNo);
        sb.append(", oldYmtExpressCode=").append(oldYmtExpressCode);
        sb.append(", orderId=").append(orderId);
        sb.append(", sellerId=").append(sellerId);
        sb.append(", officalLogistics=").append(officalLogistics);
        sb.append(", sourceTrack=").append(sourceTrack);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}